﻿using System;
using System.Configuration;
using System.Reflection;
using Multiple_Platforms_Game.Factory;
using Multiple_Platforms_Game.Products;

namespace Multiple_Platforms_Game
{
    class Program
    {
        static void Main(string[] args)
        {
            String path= ConfigurationManager.AppSettings["Factory"];
            Console.WriteLine(path);
            IOS oS=Assembly.Load("Multiple_Platforms_Game").CreateInstance(path)as IOS;
            IC iC = oS.iC();
            OC oC= oS.oC();
            iC.Display();
            oC.Display();

        }
    }
}
